package com.basic.business.declineWarnBoard.vo;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DeclineReplayRespVo {

    @ExcelIgnore
    private Long logId;

    //商品ID
    @ExcelProperty(value = "商品ID")
    @ColumnWidth(20)
    private Long goodsId;

    //优化日期
    @ExcelProperty(value = "优化日期")
    @ColumnWidth(20)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date optimizeDate;

    //  复盘周期
    @ExcelProperty(value = "复盘周期")
    @ColumnWidth(20)
    private Integer statCycle;

    //商品图片
    @ExcelProperty(value = "商品图片")
    @ColumnWidth(20)
    private String imgUrl;

    //支付金额
    @ExcelProperty(value = "支付金额")
    @ColumnWidth(20)
    private BigDecimal payAmount;

    //支付买家数
    @ExcelProperty(value = "支付买家数")
    @ColumnWidth(20)
    private Integer payBuyerNumber;

    //商品访客数
    @ExcelProperty(value = "商品访客数")
    @ColumnWidth(20)
    private Integer goodsVisitorNumber;

    //商品支付转化率
    @ExcelProperty(value = "商品支付转化率")
    @ColumnWidth(20)
    private Double goodsPayConversionRatio;

    //负责人
    @ExcelProperty(value = "负责人")
    @ColumnWidth(20)
    private String leaderName;

    //优化时长
    @ExcelProperty(value = "优化时长")
    @ColumnWidth(20)
    private Double optimizationDuration;

    //优化评价结果
    @ExcelProperty(value = "优化评价结果")
    @ColumnWidth(20)
    private String optimizeResult;
}
